<%--
    Document   : preGenerarCompEOP
    Created on : 02/02/2011, 12:15:24 AM
    Author     : Rafael
--%>
<%@ include file='../Templates/security.jsp' %>
<script type="text/javascript">
    function valor(){
        document.getElementById("val").value = '${valor}';
        alert('Generando comprobante');
        return false;
    }
</script>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<h1 class="title">Gestión de Objetos Perdidos</h1>
<p class="meta"></p>
<br>
<center>
    <h2>Detalle Comprobante</h2>
    A continuación Puede ver el Comprobante de Entrega.
    <br>
    <br>

    <html:form action="/genCompOP2" style="preModificarEOPForm">

        <%
          String valor = "" + request.getAttribute("idObjeto");
          System.out.println("\n\n\n\nAntes Imprimir <html:text property='id' value='" + valor + "'/>");
          //out.println("<html:text property='id' value='" + valor + "'/>");
        %>


        <html:hidden property ="idObjeto"/>

        <html:submit altKey="Ver Comprobante">Ver Comprobante</html:submit>&nbsp;<button onclick="javascript: objetoPerdidoC()">Atrás</button>

    </html:form>
</center>


<p class="meta"></p>
<center>



</center>

<div style="clear: both;">&nbsp;</div>
